package com.ch.clinking.bean;


import android.os.Build;

import androidx.annotation.RequiresApi;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import com.ch.clinking.Utils.TimeUtil;

import java.io.Serializable;
import java.util.Date;

@Entity
public class StockChanged implements Serializable {

    @PrimaryKey(autoGenerate = true)
    private Integer id;

    private String skcId;

    //用户名
    private String account;

    private String nickName;

    //创建时间
    private String createTime;

    private String remark;

    private int change_XXS = 0;
    private int change_XS = 0;
    private int change_S = 0;
    private int change_M = 0;
    private int change_L = 0;
    private int change_XL = 0;
    private int change_XXL = 0;

    private int change_Plus_0XL = 0;
    private int change_Plus_1XL = 0;
    private int change_Plus_2XL = 0;
    private int change_Plus_3XL = 0;
    private int change_Plus_4XL = 0;
    private int change_Plus_5XL = 0;
    private int change_Plus_6XL = 0;

    private int inHouseStock_XXS = 0;
    private int inHouseStock_XS = 0;
    private int inHouseStock_S = 0;
    private int inHouseStock_M = 0;
    private int inHouseStock_L = 0;
    private int inHouseStock_XL = 0;
    private int inHouseStock_XXL = 0;

    private int inHouseStock_Plus_0XL = 0;
    private int inHouseStock_Plus_1XL = 0;
    private int inHouseStock_Plus_2XL = 0;
    private int inHouseStock_Plus_3XL = 0;
    private int inHouseStock_Plus_4XL = 0;
    private int inHouseStock_Plus_5XL = 0;
    private int inHouseStock_Plus_6XL = 0;

    private boolean activate_XXS = false;
    private boolean activate_XS = false;
    private boolean activate_S = false;
    private boolean activate_M = false;
    private boolean activate_L = false;
    private boolean activate_XL = false;
    private boolean activate_XXL = false;

    private boolean activate_Plus_0XL = false;
    private boolean activate_Plus_1XL = false;
    private boolean activate_Plus_2XL = false;
    private boolean activate_Plus_3XL = false;
    private boolean activate_Plus_4XL = false;
    private boolean activate_Plus_5XL = false;
    private boolean activate_Plus_6XL = false;

    public StockChanged() {
    }

    @RequiresApi(api = Build.VERSION_CODES.N)
    public StockChanged(String account, String nickName, String skcId) {
        this.account = account;
        this.nickName = nickName;
        this.createTime = TimeUtil.getFormatTime();
        this.skcId = skcId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSkcId() {
        return skcId;
    }

    public void setSkcId(String skcId) {
        this.skcId = skcId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCreatedTime() {
        return createTime;
    }

    public void setCreatedTime(String createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getChange_XXS() {
        return change_XXS;
    }

    public void setChange_XXS(int change_XXS) {
        this.change_XXS = change_XXS;
    }

    public int getChange_XS() {
        return change_XS;
    }

    public void setChange_XS(int change_XS) {
        this.change_XS = change_XS;
    }

    public int getChange_S() {
        return change_S;
    }

    public void setChange_S(int change_S) {
        this.change_S = change_S;
    }

    public int getChange_M() {
        return change_M;
    }

    public void setChange_M(int change_M) {
        this.change_M = change_M;
    }

    public int getChange_L() {
        return change_L;
    }

    public void setChange_L(int change_L) {
        this.change_L = change_L;
    }

    public int getChange_XL() {
        return change_XL;
    }

    public void setChange_XL(int change_XL) {
        this.change_XL = change_XL;
    }

    public int getChange_XXL() {
        return change_XXL;
    }

    public void setChange_XXL(int change_XXL) {
        this.change_XXL = change_XXL;
    }

    public int getChange_Plus_0XL() {
        return change_Plus_0XL;
    }

    public void setChange_Plus_0XL(int change_Plus_0XL) {
        this.change_Plus_0XL = change_Plus_0XL;
    }

    public int getChange_Plus_1XL() {
        return change_Plus_1XL;
    }

    public void setChange_Plus_1XL(int change_Plus_1XL) {
        this.change_Plus_1XL = change_Plus_1XL;
    }

    public int getChange_Plus_2XL() {
        return change_Plus_2XL;
    }

    public void setChange_Plus_2XL(int change_Plus_2XL) {
        this.change_Plus_2XL = change_Plus_2XL;
    }

    public int getChange_Plus_3XL() {
        return change_Plus_3XL;
    }

    public void setChange_Plus_3XL(int change_Plus_3XL) {
        this.change_Plus_3XL = change_Plus_3XL;
    }

    public int getChange_Plus_4XL() {
        return change_Plus_4XL;
    }

    public void setChange_Plus_4XL(int change_Plus_4XL) {
        this.change_Plus_4XL = change_Plus_4XL;
    }

    public int getChange_Plus_5XL() {
        return change_Plus_5XL;
    }

    public void setChange_Plus_5XL(int change_Plus_5XL) {
        this.change_Plus_5XL = change_Plus_5XL;
    }

    public int getChange_Plus_6XL() {
        return change_Plus_6XL;
    }

    public void setChange_Plus_6XL(int change_Plus_6XL) {
        this.change_Plus_6XL = change_Plus_6XL;
    }

    public boolean isActivate_XXS() {
        return activate_XXS;
    }

    public void setActivate_XXS(boolean activate_XXS) {
        this.activate_XXS = activate_XXS;
    }

    public boolean isActivate_XS() {
        return activate_XS;
    }

    public void setActivate_XS(boolean activate_XS) {
        this.activate_XS = activate_XS;
    }

    public boolean isActivate_S() {
        return activate_S;
    }

    public void setActivate_S(boolean activate_S) {
        this.activate_S = activate_S;
    }

    public boolean isActivate_M() {
        return activate_M;
    }

    public void setActivate_M(boolean activate_M) {
        this.activate_M = activate_M;
    }

    public boolean isActivate_L() {
        return activate_L;
    }

    public void setActivate_L(boolean activate_L) {
        this.activate_L = activate_L;
    }

    public boolean isActivate_XL() {
        return activate_XL;
    }

    public void setActivate_XL(boolean activate_XL) {
        this.activate_XL = activate_XL;
    }

    public boolean isActivate_XXL() {
        return activate_XXL;
    }

    public void setActivate_XXL(boolean activate_XXL) {
        this.activate_XXL = activate_XXL;
    }

    public boolean isActivate_Plus_0XL() {
        return activate_Plus_0XL;
    }

    public void setActivate_Plus_0XL(boolean activate_Plus_0XL) {
        this.activate_Plus_0XL = activate_Plus_0XL;
    }

    public boolean isActivate_Plus_1XL() {
        return activate_Plus_1XL;
    }

    public void setActivate_Plus_1XL(boolean activate_Plus_1XL) {
        this.activate_Plus_1XL = activate_Plus_1XL;
    }

    public boolean isActivate_Plus_2XL() {
        return activate_Plus_2XL;
    }

    public void setActivate_Plus_2XL(boolean activate_Plus_2XL) {
        this.activate_Plus_2XL = activate_Plus_2XL;
    }

    public boolean isActivate_Plus_3XL() {
        return activate_Plus_3XL;
    }

    public void setActivate_Plus_3XL(boolean activate_Plus_3XL) {
        this.activate_Plus_3XL = activate_Plus_3XL;
    }

    public boolean isActivate_Plus_4XL() {
        return activate_Plus_4XL;
    }

    public void setActivate_Plus_4XL(boolean activate_Plus_4XL) {
        this.activate_Plus_4XL = activate_Plus_4XL;
    }

    public boolean isActivate_Plus_5XL() {
        return activate_Plus_5XL;
    }

    public void setActivate_Plus_5XL(boolean activate_Plus_5XL) {
        this.activate_Plus_5XL = activate_Plus_5XL;
    }

    public boolean isActivate_Plus_6XL() {
        return activate_Plus_6XL;
    }

    public void setActivate_Plus_6XL(boolean activate_Plus_6XL) {
        this.activate_Plus_6XL = activate_Plus_6XL;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getInHouseStock_XXS() {
        return inHouseStock_XXS;
    }

    public void setInHouseStock_XXS(int inHouseStock_XXS) {
        this.inHouseStock_XXS = inHouseStock_XXS;
    }

    public int getInHouseStock_XS() {
        return inHouseStock_XS;
    }

    public void setInHouseStock_XS(int inHouseStock_XS) {
        this.inHouseStock_XS = inHouseStock_XS;
    }

    public int getInHouseStock_S() {
        return inHouseStock_S;
    }

    public void setInHouseStock_S(int inHouseStock_S) {
        this.inHouseStock_S = inHouseStock_S;
    }

    public int getInHouseStock_M() {
        return inHouseStock_M;
    }

    public void setInHouseStock_M(int inHouseStock_M) {
        this.inHouseStock_M = inHouseStock_M;
    }

    public int getInHouseStock_L() {
        return inHouseStock_L;
    }

    public void setInHouseStock_L(int inHouseStock_L) {
        this.inHouseStock_L = inHouseStock_L;
    }

    public int getInHouseStock_XL() {
        return inHouseStock_XL;
    }

    public void setInHouseStock_XL(int inHouseStock_XL) {
        this.inHouseStock_XL = inHouseStock_XL;
    }

    public int getInHouseStock_XXL() {
        return inHouseStock_XXL;
    }

    public void setInHouseStock_XXL(int inHouseStock_XXL) {
        this.inHouseStock_XXL = inHouseStock_XXL;
    }

    public int getInHouseStock_Plus_0XL() {
        return inHouseStock_Plus_0XL;
    }

    public void setInHouseStock_Plus_0XL(int inHouseStock_Plus_0XL) {
        this.inHouseStock_Plus_0XL = inHouseStock_Plus_0XL;
    }

    public int getInHouseStock_Plus_1XL() {
        return inHouseStock_Plus_1XL;
    }

    public void setInHouseStock_Plus_1XL(int inHouseStock_Plus_1XL) {
        this.inHouseStock_Plus_1XL = inHouseStock_Plus_1XL;
    }

    public int getInHouseStock_Plus_2XL() {
        return inHouseStock_Plus_2XL;
    }

    public void setInHouseStock_Plus_2XL(int inHouseStock_Plus_2XL) {
        this.inHouseStock_Plus_2XL = inHouseStock_Plus_2XL;
    }

    public int getInHouseStock_Plus_3XL() {
        return inHouseStock_Plus_3XL;
    }

    public void setInHouseStock_Plus_3XL(int inHouseStock_Plus_3XL) {
        this.inHouseStock_Plus_3XL = inHouseStock_Plus_3XL;
    }

    public int getInHouseStock_Plus_4XL() {
        return inHouseStock_Plus_4XL;
    }

    public void setInHouseStock_Plus_4XL(int inHouseStock_Plus_4XL) {
        this.inHouseStock_Plus_4XL = inHouseStock_Plus_4XL;
    }

    public int getInHouseStock_Plus_5XL() {
        return inHouseStock_Plus_5XL;
    }

    public void setInHouseStock_Plus_5XL(int inHouseStock_Plus_5XL) {
        this.inHouseStock_Plus_5XL = inHouseStock_Plus_5XL;
    }

    public int getInHouseStock_Plus_6XL() {
        return inHouseStock_Plus_6XL;
    }

    public void setInHouseStock_Plus_6XL(int inHouseStock_Plus_6XL) {
        this.inHouseStock_Plus_6XL = inHouseStock_Plus_6XL;
    }

    @Override
    public String toString() {
        return "StockChanged{" +
                "id=" + id +
                ", skcId='" + skcId + '\'' +
                ", account='" + account + '\'' +
                ", nickName='" + nickName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", remark='" + remark + '\'' +
                ", change_XXS=" + change_XXS +
                ", change_XS=" + change_XS +
                ", change_S=" + change_S +
                ", change_M=" + change_M +
                ", change_L=" + change_L +
                ", change_XL=" + change_XL +
                ", change_XXL=" + change_XXL +
                ", change_Plus_0XL=" + change_Plus_0XL +
                ", change_Plus_1XL=" + change_Plus_1XL +
                ", change_Plus_2XL=" + change_Plus_2XL +
                ", change_Plus_3XL=" + change_Plus_3XL +
                ", change_Plus_4XL=" + change_Plus_4XL +
                ", change_Plus_5XL=" + change_Plus_5XL +
                ", change_Plus_6XL=" + change_Plus_6XL +
                ", inHouseStock_XXS=" + inHouseStock_XXS +
                ", inHouseStock_XS=" + inHouseStock_XS +
                ", inHouseStock_S=" + inHouseStock_S +
                ", inHouseStock_M=" + inHouseStock_M +
                ", inHouseStock_L=" + inHouseStock_L +
                ", inHouseStock_XL=" + inHouseStock_XL +
                ", inHouseStock_XXL=" + inHouseStock_XXL +
                ", inHouseStock_Plus_0XL=" + inHouseStock_Plus_0XL +
                ", inHouseStock_Plus_1XL=" + inHouseStock_Plus_1XL +
                ", inHouseStock_Plus_2XL=" + inHouseStock_Plus_2XL +
                ", inHouseStock_Plus_3XL=" + inHouseStock_Plus_3XL +
                ", inHouseStock_Plus_4XL=" + inHouseStock_Plus_4XL +
                ", inHouseStock_Plus_5XL=" + inHouseStock_Plus_5XL +
                ", inHouseStock_Plus_6XL=" + inHouseStock_Plus_6XL +
                ", activate_XXS=" + activate_XXS +
                ", activate_XS=" + activate_XS +
                ", activate_S=" + activate_S +
                ", activate_M=" + activate_M +
                ", activate_L=" + activate_L +
                ", activate_XL=" + activate_XL +
                ", activate_XXL=" + activate_XXL +
                ", activate_Plus_0XL=" + activate_Plus_0XL +
                ", activate_Plus_1XL=" + activate_Plus_1XL +
                ", activate_Plus_2XL=" + activate_Plus_2XL +
                ", activate_Plus_3XL=" + activate_Plus_3XL +
                ", activate_Plus_4XL=" + activate_Plus_4XL +
                ", activate_Plus_5XL=" + activate_Plus_5XL +
                ", activate_Plus_6XL=" + activate_Plus_6XL +
                '}';
    }
}
